Skip to main content

cut

Type

command

Summary

Copies the selected text or the selected section of an image, or an object, and deletes it from the selection.

Syntax

cut [<object>]

Description

Use the cut command to place objects or text on the clipboard while removing them from the stack.

If no object is specified, the cut command is equivalent to choosing Edit → Cut from the menubar.

Parameters

NameTypeDescription

object

Any available object. If no object is specified, the cut command cuts whatever is currently selected to the clipboard.

Examples

cut -- cuts whatever is selected
cut player "Quivering Apple" of recent card
cut the selectedObject

glossary: object, command

keyword: selection, image

message: cutKey

object: stack

property: selected

command: copy, delete

function: clipboard

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?